<?php	// +----------------------------------------------------------------------	// | 海报	// +----------------------------------------------------------------------	// | Copyright (c) 2015-2024 http://www.yicmf.com, All rights reserved.	// +----------------------------------------------------------------------	// | Author: 微尘 <yicmf@qq.com>	// +----------------------------------------------------------------------	namespace app\model\index;	use yicmf\tools\FlowSn;    class Order extends Common	{		/**		 * 写入修改		 * @param $data		 */		public static function onBeforeInsert($data)		{			$data['order_no'] = FlowSn::build('6');			$data['status'] = -1;		}	}